package com.hj.domain;

import java.security.Key;

/**
 * @Description jwtKey
 * @author hj
 */
public class JwtKey implements Key {

    private final String secret;

    public JwtKey(String secret) {
        this.secret = secret;
    }

    @Override
    public String getAlgorithm() {
        return null;
    }

    @Override
    public String getFormat() {
        return null;
    }

    @Override
    public byte[] getEncoded() {
        return secret.getBytes();
    }

}
